#ifndef __CTimer_H__
#define __CTimer_H__


/**
This class is responsible for PCR delays
*/
class CTimer
{
public:
	CTimer(void);
	~CTimer(void);

	/**
	Set the current PCR.
	If the PCR is too progressive- sleep.
	*/
	void setCurrentPCR(unsigned long long PCR);

private:
	unsigned long long m_dLastPCR;
	unsigned long long m_dLastSysTime;
};

#endif //__CTimer_H__
